import request from '../util/request.js'
import  config from '../util/config.js'
let ContentRequest = {
    baseUrl: config.baseUrl + "/cms",

    save(content,callBack){
        request.post(this.baseUrl + "/content/save",content,callBack);
    },
    listPage(content,callBack){
        request.get(this.baseUrl + "/content/listPage",content,callBack)
    }
}
export default ContentRequest;